<?php
/**
 * 热门招聘文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	deal
 */
if (is_object($objWebInit)) {
	if(!isset($objdeal)){
		include_once(__WEB_ROOT."/deal/class/deal.class.php");
		include_once(__WEB_ROOT."/deal/config/var.inc.php");
		$objdeal = new deal();
		$objdeal->setDBG($arrGPdoDB);
		if(is_object($objWebInit->db)) $objdeal->db = $objWebInit->db;
		else $objdeal->db();
	}

	$arrTopdeal = array();
	$arrTopdeal = $objdeal->getInfoList("where pass=1","  ORDER BY recommendflag DESC,clicktimes DESC,submit_date DESC", 0, 15,true);
	unset($arrTopdeal['COUNT_ROWS']);

	// print_r($arrTopdeal);
	// 输出到模板
	$arrMOutput["smarty_assign"]['arrTopdeal'] = $arrTopdeal;
}
?>